home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gBackgroundSound, gBackgroundVolume, gFragment3
- set the volume of sound 2 to gBackgroundVolume
- set CurrentSound to getpn() & "Sounds:Bckgrd" & gBackgroundSound & ".aif"
- if soundBusy(2) = 0 then
- sound playFile 2, CurrentSound
- end if
- if rollOver(19) then
- set MBNumber to the number of cast "Fragment 1"
- if gFragment3 = 0 then
- set the castNum of sprite 19 to MBNumber + 2
- updateStage()
- end if
- end if
- go(the frame)
- end
-